import request from '@/utils/request.js' // 导入  定义所有频道接口
export const getarticles = function (obj) {
  // 必须加return!!
  return request({
    url: '/v1_0/articles',
    params: {
      channel_id: obj.channel_id,
      timestamp: obj.timestamp || Date.parse(new Date())
    }
  })
}
